<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar text-center color="primary">
    <ion-title>登录</ion-title>
    <ion-buttons end>
      <button ion-button icon-only (click)="gotosetting()">
        <ion-icon name="settings"> </ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-item>
    <ion-icon name="person" item-left color="primary"></ion-icon>
    <ion-input type="text" required clearInput [(ngModel)]="username" placeholder="请输入姓名"></ion-input>
  </ion-item>

  <ion-item>
    <ion-icon name="information" item-left color="primary"></ion-icon>
    <ion-input type="text" required clearInput [(ngModel)]="xuehao" placeholder="请输入学号"></ion-input>
  </ion-item>


  <ion-item>
    <ion-icon name="lock" item-left color="primary"></ion-icon>
    <ion-input type="password" required clearInput [(ngModel)]="passowrd" placeholder="请输入密码"></ion-input>
  </ion-item>

  <ion-item>
    <ion-icon name="albums" item-left color="primary"></ion-icon>
    <ion-select okText="确认" cancelText="取消" [(ngModel)]="xueyuan">
      <ion-option *ngFor="let item of xueyuanL" [value]="item.cdmc">{{item.cdmc}}</ion-option>
    </ion-select>
  </ion-item>



  <button style="margin-top: 25px" ion-button block (click)="login()">登录</button>
</ion-content>
